Frame: Don’t advise adding .flat class in code
authorDaniel Boles <dboles@src.gnome.org>
Sun, 14 May 2017 10:46:34 +0000 (11:46 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Sun, 14 May 2017 10:53:25 +0000 (11:53 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=779653#c33
and this is closer to what gtk-3-22 says anyway.

gtk/gtkframe.c

index 05b603d5d12efe0e32795fbaa03c9492a005b83a..7f1d8850543964089129f0c066d700ffebc06040 100644 (file)
@@ -80,8 +80,8 @@
  *
  * GtkFrame has a main CSS node with name frame. This node can be given the
  * style class .flat, which is used by themes to disable drawing of the border.
- * Another way to do this in code is to call gtk_frame_set_shadow_type() with
- * GTK_SHADOW_NONE to add the .flat class or any other shadow type to remove it.
+ * To do this from code, call gtk_frame_set_shadow_type() with %GTK_SHADOW_NONE
+ * to add the .flat class or any other shadow type to remove it.
  */
 
 struct _GtkFramePrivate